package com.csu.mining.activity;


import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;

import com.csu.mining.R;
import com.csu.mining.adapters.MiningFileAdapter;

public class FileListActivity extends BaseActivity {
    RecyclerView mRcView;
    MiningFileAdapter miningFileAdapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_file_list);
        initNavBar(true,"文件");
        initBottonBar("file");
        mRcView = fd(R.id.ry_file);
        mRcView.setLayoutManager(new GridLayoutManager(this,1));
        miningFileAdapter = new MiningFileAdapter(this);
        mRcView.setAdapter(miningFileAdapter);
    }
}
